manifests: resources required for adding helm metrics in console#601
Conversation
Adds a new ServiceMonitor to allow the Helm metrics being scraped from console /metrics endpoint by prometheus-k8s. Closes: https://issues.redhat.com/browse/HELM-235 Reference: openshift#270 Signed-off-by: Allen Bai <abai@redhat.com>
|
Lifted WIP as the console PR is ready and tested: openshift/console#10194 In summary, in this implementation we host a Prometheus client in the console and instructs the service monitor to scrape on PTAL when you're available @jhadvig @spadgett @dperaza4dustbit. |
jhadvig
left a comment
There was a problem hiding this comment.
One nit otherwise LGTM 👍
Please address the comment so we can tag the PR :)
| include.release.openshift.io/self-managed-high-availability: "true" | ||
| include.release.openshift.io/single-node-developer: "true" | ||
| roleRef: | ||
| # for protected endpoints like /metrics, the operator must perform |
There was a problem hiding this comment.
| # for protected endpoints like /metrics, the operator must perform | |
| # for protected endpoints like /metrics, the console backend must perform |
There was a problem hiding this comment.
Thanks for the review @jhadvig! Updated.
Signed-off-by: Allen Bai <abai@redhat.com>
|
/retest |
|
/retest |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dperaza4dustbit, jhadvig, zonggen The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
8 similar comments
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
It seems like this PR is dependent on the metrics PR on console side (openshift/console#10194). Once the console change is merged and new image is built, the warning alert should be resolved. Tested with applying manifest in this PR, using default console image. As I changed to my console image with metrics change, the |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/hold lets wait for openshift/console#10194 |
|
/hold for approvals |
|
/label docs-approved |
|
/label qe-approved |
|
/label px-approved |
|
/unhold |
|
/retest |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |

Adds a new ServiceMonitor to allow the Helm metrics being scraped from
console
/metricsendpoint byprometheus-k8s.Closes: https://issues.redhat.com/browse/HELM-235
Reference: #270
Signed-off-by: Allen Bai abai@redhat.com